
import {
    personGetIdTpye,
    getProvinceAjax
} from "@/api/authentication";

export default {
    // 获取身份证类型数据
    _personGetIdTpye: function () {
        let _this = this
        personGetIdTpye().then(res => {
            let arr = [];
            for (let i in res.data.cardType) {
                arr.push({
                    value: i,
                    label: res.data.cardType[i]
                });
            }
            _this.$store.commit("SET_PERSONCARDTYPE", arr);
        });
    },
}